package com.astoolkit.xmlmapping
{
   import flash.events.Event;

   public class XmlMappingEvent extends Event
   {
      private var _mappingContext : XmlMappingContext;
      
      public static const INIT_MAPPING : String = "initMapping";
       
      public function XmlMappingEvent(type : String, mappingContext : XmlMappingContext )
      {
         super(type, false, false);
         _mappingContext = mappingContext;  
      }
            
      public function get mappingContext() : XmlMappingContext
      {
         return _mappingContext;
      }
    
      override public function clone() : Event
      {
         return new XmlMappingEvent( type, mappingContext );
      }  
   }
}